interface FetchIsFreeAPIResData {
  code: number
  msg: string
  time: string
  data: 0 | 1
}

export function fetchIsFreeAPI(token: string) {
  return httpInstance.get<FetchIsFreeAPIResData>(
    '/api/reserve_order/isfree',
    { headers: { token } },
  )
}
